//
//  UIColor+Common.h
//  FjeapTeacher
//
//  Created by 海阳 on 2017/9/10.
//  Copyright © 2017年 LinHY. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (Common)
+ (UIColor *)colorWithHexStringALpha:(NSString *)color;
+ (UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;
+ (UIImage *)imageWithColor:(UIColor *)color;

//颜色渐变
+ (CAGradientLayer *)setGradualChangingColor:(UIView *)view fromColor:(NSString *)fromHexColorStr toColor:(NSString *)toHexColorStr;

@end
